
import os
from commond import get_path_info

wp_path = os.path.join(get_path_info.get_test_project('WP'), 'wp_run.py')


# os.system("python " + path)

def run():
    os.system("python " + wp_path)


if __name__ == '__main__':
    # 创建后台执行的 schedulers
    run()
    # scheduler = BlockingScheduler()
    # # 每天8.50执行一次
    # scheduler.add_job(timedTask, 'cron', hour=12, minute=00, end_date='2020-5-31')
    #
    # # 启动调度任务
    # scheduler.start()
